﻿using System;
namespace ElingOA6_Admin_DSJCJ.Model
{
    /// <summary>
    /// SysPhrase:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class SysPhrase
    {
        public SysPhrase()
        { }
        #region Model
        private decimal _fphraseid;
        private string _fentityno;
        private string _fphrase;
        private string _furl;
        private DateTime _fpubdate;
        private string _fpubip;
        private string _femplno;
        private string _fdeptno;
        private string _fphraseno;
        private int _fistop;
        /// <summary>
        /// 
        /// </summary>
        public decimal FPhraseID
        {
            set { _fphraseid = value; }
            get { return _fphraseid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FEntityNo
        {
            set { _fentityno = value; }
            get { return _fentityno; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FPhrase
        {
            set { _fphrase = value; }
            get { return _fphrase; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FURL
        {
            set { _furl = value; }
            get { return _furl; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime FPubDate
        {
            set { _fpubdate = value; }
            get { return _fpubdate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FPubIp
        {
            set { _fpubip = value; }
            get { return _fpubip; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FEmplNo
        {
            set { _femplno = value; }
            get { return _femplno; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FDeptNo
        {
            set { _fdeptno = value; }
            get { return _fdeptno; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FPhraseNo
        {
            set { _fphraseno = value; }
            get { return _fphraseno; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int FIsTop
        {
            set { _fistop = value; }
            get { return _fistop; }
        }
        #endregion Model


        private string _fcodename;

        public string FCodeName
        {
            get { return _fcodename; }
            set { _fcodename = value; }
        }

        private string _femplname;

        public string FEmpName
        {
            get { return _femplname; }
            set { _femplname = value; }
        }


        public string IsTopCHN
        {
            get
            {
                if (_fistop == 1)
                {
                    return "√";
                }
                else
                {
                    return "";
                }
            }
        }

        public string PubDateString
        {
            get
            {
                return FPubDate.ToString("yyyy-MM-dd");
            }
        }



    }
}

